package cn.jzq.kotoba.modules.designpattern.template;

public class TemplateTest {
    public static void main(String[] args) {
        CharDisplay s1 = new CharDisplay('F');
        StringDisplay s2 = new StringDisplay("hello, world");
        AbstractDisPlay s3 = new StringDisplay("你好世界");
        s1.display();
        s2.display();
        s3.display();
    }
}
